package com.itheima.store.service;

import java.sql.SQLException;
import java.util.List;

import com.itheima.store.domain.Post;

/**
 * 分类的Service的接口
 * @author admin
 *
 */
public interface PostManagerService {

	List<Post> findAllPost()throws SQLException;
	
	void savePost(Post dept)throws SQLException;

	Post queryPost(String post_id)throws SQLException;

	void updatePost(Post post)throws SQLException;

	void deletePost(String post_id)throws SQLException;


}
